<%@page import="member.MemberVo"%>
<%@page import="member.MemberMyba"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>view(회원상세정보)</title>
<script>
function modify(mid){
	location.href='modify.jsp?memberid='+mid;
}
function del(mid){
	location.href='delete.jsp?memberid='+mid;
}
function mlist(mid){
	alert(mid);
	location.href='list.jsp?memberid='+mid;
}


</script>
</head>
<body>
<jsp:useBean id='vo' class='member.MemberVo'/>
<jsp:setProperty property="*" name="vo"/>
<%
MemberMyba member=new MemberMyba();
member.setMemberVo(vo);
MemberVo data = member.view();

%>


<li> MID : <%=data.getMemberid() %>

<li> Name: <%=data.getIrum()%>
<input type='button' value="목록으로" onclick='mlist("<%=data.getMemberid() %>")'>
<input type='button' value="수정" onclick='modify("<%=data.getMemberid()%>")'>
<input type='button' value="삭제" onclick='del("<%=data.getMemberid() %>")'>


</body>
</html>